package Ex1;

import java.util.Scanner;

public class Ex08_Q45 {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int[] a = new int[11];
		System.out.println("숫자 입력");

		for (int i = 1; i < a.length; i++) {
			a[i] = scan.nextInt();

		}

		int j;
		int i;
		for (i = 1, j = 10; i <= 5 && j > 5; i++, j--) {

			System.out.println(a[i] + "\t" + a[j]);
		}
 
	}

}
